Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vagrant #578

Closed
wants to merge 5 commits into from
Closed

Vagrant #578

wants to merge 5 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Nov 15, 2014

Hi,

I included vagrant to the repo for testing in an isolated environment. I'm not sure what I should write to test this since all it does is "provision" a virtual machine. Hopefully you'll find it useful.

Cheers

LoveIsGrief added 2 commits November 15, 2014 22:22
[Vagrant](https://www.vagrantup.com/) allows us to test all changes in a virtual machine. We can "vagrant up" into a clean environment and "vagrant destroy" whenever
This method copies the folder containing install.sh (normally also containing the repo) to $NVM_DIR - unless of course the install.sh being executed is in $NVM_DIR (where nvm was installed)

This is useful for vagrant to test local changes instead of pulling them from git and thus testing what's on the server and not local changes
@@ -109,6 +109,18 @@ nvm_do_install() {
exit 1
fi
install_nvm_as_script
elif [ "~$METHOD" = "~copy" ]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "copy" functionality is separate from the vagrant stuff - can you split this into two separate PRs, please? The vagrant PR will need a lot of time for me to evaluate it first, and I'd like more context on the usefulness of the "copy" install method, which would be best discussed in a dedicated thread :-)

@ghost ghost mentioned this pull request Nov 16, 2014
@ghost ghost mentioned this pull request Nov 16, 2014
Michael Vogel added 2 commits November 16, 2014 15:52
When vagrant is provisioned it will choose an automatic method from now (which means git or script with the newest version of nvm from the web)
Make is needed for the tests to run

The tests don't run with with either as `npm test` uses the "shell" package which tries to execute shell commands in its parent shell. If the shell is fish..well, it doesn't work.
@ljharb ljharb added the needs rebase Please rebase your branch onto latest master! This removes merge commits, & keeps the git log clean. label Dec 22, 2015
@ljharb
Copy link
Member

ljharb commented Jun 26, 2016

@LoveIsGrief do you have any interest in completing this PR?

@ghost
Copy link
Author

ghost commented Jun 28, 2016

Nah, it's cool.

@ghost ghost closed this Jun 28, 2016
@ghost ghost deleted the vagrant branch June 28, 2016 19:30
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs rebase Please rebase your branch onto latest master! This removes merge commits, & keeps the git log clean.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant